package communication.thirdLayer;
import communication.*;
import kernel.*;

/**
 * @author gerard
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class OLSRProtocol extends ThirdLayerProtocol{



    private Simulator mySim; //the simulator
    public final static int helloTime=5000;
    //taille maximale d'un paquet pour le protocol OLSR
    public final static int DataPackageMaxsize=2000; 
    
    /**
     * constructor of the class
     * @param ccm
     */
    public double getHelloTime(){
	return helloTime;
    }
    
    public String getProtocolName(){
	return "OLSR";
    }
    
    public OLSRProtocol(Simulator sim){
	super(sim);
    }

    /**
     * edit 28/12/2006
     */
    public void packagesTreatment(){
    }
    
    public void routesMaintenance(){
    }
    
    public void failedCommunicationTreatment(WishedEmission we){
    }
		

    /**
     * Give the name of the protocol
     * 
     * @return the name
     * 
     * @uml.property name="protocoleName"
     */
    public String getProtocoleName(){
	return "OLSR";
    }		
	
}
